function [ hasThisTrait ] = hasTrait( copyDeltaProfile, site, transition, window)
	%needs to look for "trait" or a particular delta between copy numbers at a given site within the window that trait tends to occur within
	%make sure the input transitino is a transition code

    hasThisTrait = 0;
    for i = site-window:site+window
        if (copyDeltaProfile(1, i) == transition)
            hasThisTrait = 1;
        end
    end
end